﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchRoleUserMappingByRole.ascx.vb" Inherits="WebForm_SearchRoleUserMappingByRole" %>
<%@ Register Src="~/WebForm/SearchUserControl.ascx" TagName="SearchUserControl" TagPrefix="My" %>
<asp:Panel ID="panel1" runat="server" BackColor="white" BorderWidth="1"  SkinID="DragPanel" Width="300">
    <br />
    <div align="center">
        <asp:Label ID="lblForm" runat="server" meta:resourcekey="Page" SkinID="title" Visible="false"></asp:Label>
    </div>
    <br />
    <table>
        <tr>
            <td>
                <asp:GridView ID="gv" runat="server" SkinID="pager" DataKeyNames="RoleID,UserID" meta:resourcekey="gv">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:Button ID="btnDelete" runat="server" CommandName="Delete" meta:resourcekey="btnDelete"></asp:Button>
                                <ajaxToolkit:ConfirmButtonExtender ID="cbDelete" TargetControlID="btnDelete" runat="server" meta:resourcekey="cbDelete" ConfirmText="aa"></ajaxToolkit:ConfirmButtonExtender>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="UserID" meta:resourcekey="bfUserID" />                     
                        <asp:BoundField DataField="UserName" meta:resourcekey="bfUserName" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnAdd" runat="server" meta:resourcekey="btnAdd" />
                <asp:Button ID="btnOK" runat="server" meta:resourcekey="btnOK" />
            </td>
        </tr>
    </table>       
</asp:Panel>
<asp:Button ID="btnDummy" runat="server" Style="display: none" SkinID="null" />
<ajaxToolkit:ModalPopupExtender ID="mpSearch" runat="server" TargetControlID="btnDummy"
    PopupControlID="panel1" OkControlID="btnOK" PopupDragHandleControlID="panel1" />    
<My:SearchUserControl ID="SearchUserControl1" runat="server" />    